#!/usr/bin/python

keys = ['a', 'b', 'c']
values = [1, 2, 3]
kv = dict(zip(keys, values))
print kv

def func(**args):
    for a in args:
        print a, args[a]

func(a=2, b=3)
print

x='a=2, b=3'
args = dict(tuple(e.split('=')) for e in x.split(', '))
func(**args)
